message dialog: use title style only if there is secondary text
authorMichael Catanzaro <mcatanzaro@gnome.org>
Tue, 29 Dec 2020 17:12:59 +0000 (11:12 -0600)
committerMichael Catanzaro <mcatanzaro@gnome.org>
Tue, 29 Dec 2020 17:15:14 +0000 (11:15 -0600)
commit23361200104ca3b0f6b4a10835a329322e138bd1
treedb22a54200c086e1b4fdd089f9582b3e0d687517
parentf7e30169492298e1b566f17d09e3cb561e7b86fc
message dialog: use title style only if there is secondary text

If there is no secondary text, then the primary text is just a message,
not a title, and should not use title style.

This partially reverts 1e3ec7c1f993ec8cab4c6608b968e78f9028d662. The
message dialog nown looks like it used to in GTK 3. However, it's still
styled only using a style class rather than using pango markup, as in
GTK 3.

Fixes #3509
gtk/gtkmessagedialog.c
gtk/ui/gtkmessagedialog.ui